package com.oa.cs.agreement.pojo.doc;

import com.oa.cs.agreement.pojo.IMutual;
import com.oa.cs.agreement.pojo.IRequestObject;
import com.oa.cs.agreement.pojo.IResponseObject;
/**
 * <p>
 * DocRollBack描述:公文回退协议
 * </p>
 * @company 中国电信甘肃万维公司 
 *
 * @project nma-s-agreement
 *
 * @version V2.0.0
 *
 * @author 郭磊(产品部)
 *
 * @date 2012-7-20 上午11:49:27	
 *
 * @class com.oa.cs.agreement.pojo.doc.DocRollBack
 *
 */
public interface DocRollBackInfo  extends IMutual{
	/** 
	 * @Fields SERVICE :  TODO 服务目标地址	SERVICE = "/nma/mbe/doc_rollback_info"
	 */
	public static final String SERVICE = "/nma/mbe/doc_rollback_info";
	
	public interface Request extends IRequestObject
	{
		/** 
		 * WORKFLOW_ID :  TODO 流程实例ID 	WORKFLOW_ID = "WORKFLOW_ID" 类型：String
		 */
		public static final String WORKFLOW_ID = "WORKFLOW_ID";
		
		/** 
		 * TASK_ID :  TODO 当前任务项ID 	TASK_ID = "TASK_ID" 类型：String
		 */
		public static final String TASK_ID = "TASK_ID";
	}

	public interface Response extends IResponseObject{
		
		/** 
		 * DEF_NEXT_ACTIVITY :  TODO 可回退节点及任务项 	DEF_NEXT_ACTIVITY = "DEF_NEXT_ACTIVITY" 类型：json字符串
		 * 示例字符串:[{"activityCode":"1","activityName":"第一处理人","orgList":[],"userList":[{"id":"ff808081388324a30138832dbb5f00a6","name":"邓利强","srcId":"","srcName":""}]},{"activityCode":"0","activityName":"开始","orgList":[],"userList":[{"id":"ff80808138834e4701388394fecb07c5","name":"王国安","srcId":"","srcName":""}]}]
		 */
		public static final String DEF_NEXT_ACTIVITY = "DEF_NEXT_ACTIVITY";
		
		/** 
		 * CURRENT_ACTIVITY_NAME :  TODO 当前任务项名称 	CURRENT_ACTIVITY_NAME = "CURRENT_ACTIVITY_NAME" 类型：String
		 */
		public static final String CURRENT_ACTIVITY_NAME = "CURRENT_ACTIVITY_NAME";
		
		/** 
		 * HAS_00G :  TODO 是否为联合发文	HAS_00G = "HAS_00G" 类型：boolean
		 */
		public static final String HAS_00G = "HAS_00G";
	}
}
